package com.antoco.operation.bigscreen.model.dto;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value="PrevDaySuiweiDTO")
public class PrevDaySuiweiDTO {

    @NotNull(message = "峰段占比不能为空")
    @Min(value = 0, message = "峰段占比必须是正整数")
    @Max(value = 1, message = "峰段占比必须小于1")
    @ApiModelProperty(value = "峰段占比", example="0.1")
    private String fdZb;

    @NotNull(message = "平段占比不能为空")
    @Min(value = 0, message = "平段占比必须是正整数")
    @Max(value = 1, message = "平段占比必须小于1")
    @ApiModelProperty(value = "平段占比", example="0.1")
    private String pdZb;

    @NotNull(message = "谷段占比不能为空")
    @Min(value = 0, message = "谷段占比必须是正整数")
    @Max(value = 1, message = "谷段占比必须小于1")
    @ApiModelProperty(value = "谷段占比", example="0.1")
    private String gdZb;

    @ApiModelProperty(value = "总体水位阈值定义-峰段区间", example="200")
    private String fdVals;

    @ApiModelProperty(value = "总体水位阈值定义-平段区间", example="200")
    private String pdVals;

    @ApiModelProperty(value = "总体水位阈值定义-谷段区间", example="200")
    private String gdVals;
}